package com.llc.gulimall.ware.exception;

/**
 * @author llc
 * @Description
 * @Version
 * @date 2022/2/16 17:01
 */
public class NoStockException extends  RuntimeException{
    private Long skuId;
    public NoStockException(Long skuId){
        super("商品id:"+skuId+"没有足够库存了");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
